package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_remainingTimes")
public class RemainingTimes implements Serializable {

    private ObjectId id;
    private Long userId;
    private Long remainingTimes;//剩余次数

}
